package com.coolwen.service;

import com.coolwen.entity.Category;

import java.util.List;

/**
 * Created by user on 2016/7/12.
 */
public interface CategoryService {

    public Category load(Integer cid);

    public int delete(Integer cid);

    public int update(Category category);

    public int add(Category category);

    public List<Category> list(String name);
}
